from configparser import ConfigParser


class Bct4Hoster:
    host: str
    script_user: str
    script_pwd: str

    def __init__(self):
        cfg = ConfigParser()
        cfg.read('config.ini')
        self.host = cfg.get('bct4', 'host')
        self.script_user = cfg.get('bct4', 'script_user')
        self.script_pwd = cfg.get('bct4', 'script_password')


class Bct3Hoster:
    host: str
    port: str
    script_user: str
    script_pwd: str

    def __init__(self):
        cfg = ConfigParser()
        cfg.read('config.ini')
        self.host = cfg.get('bct3', 'host')
        self.port = cfg.get('bct3', 'port')
        self.script_user = cfg.get('bct3', 'script_user')
        self.script_pwd = cfg.get('bct3', 'script_password')
